#!/usr/bin/env bash

sparkDir="/home/hmt/software/spark-2.4.0-bin-hadoop2.7/bin/spark-submit"
jarDir="/home/hmt/jar_collection/sjaq_v1-1.0-SNAPSHOT.jar"
classPath="collection.disk.collection_sparkDisk"
logDir="/home/hmt/logs/collection_sparkDisk.txt"

${sparkDir}  --master spark://cloud107:7077   --executor-cores 1  --total-executor-cores 1  --executor-memory 1g --class  ${classPath} ${jarDir}  >>  ${logDir}

#这里爆红不用管是正常正确的，这里只能远行本地，目前没有测试成功可以指定work节点来跑集群的
#${sparkDir}  --master local[1]  --class  ${classPath} ${jarDir}  >>  ${logDir}

